//
//  ImageViewCollectionViewCell.m
//  UI_15_下午练习_collectionView封装轮播图
//
//  Created by li cheng on 16/8/4.
//  Copyright © 2016年 li cheng. All rights reserved.
//

#import "ImageViewCollectionViewCell.h"

@interface ImageViewCollectionViewCell()
@end
@implementation ImageViewCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        _imageView = [[UIImageView alloc] init];
        [self.contentView addSubview:_imageView];
    }
    return self;
}
- (void)layoutSubviews{
    [super layoutSubviews];
    _imageView.frame = self.contentView.bounds;
}
@end
